import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';

@Module({
  imports: [TypeOrmModule.forRoot({
    type: 'mysql',
    host: 'mysql-116593bb4c5e-public.rds.volces.com',
    port: 3306,
    username: 'omelette',
    password: 'qwer@123123',
    database: 'uaccount',
    entities: ['dist/**/*.entity.js'],
    synchronize: true
  })],
})
export class MysqlModule { }